
package com.contractmodule.bean;

import com.usersmodule.bean.TbUsers;
import com.usersmodule.dao.TbUsersDAO;

public class TbBackSection implements java.io.Serializable {

    private int backSectionId;

    private String responsible;

    private String backSectionFlowInfo;

    private String completionRates;

    private String applicationAmount;

    private String debitAmount;

    private String finalAmount;

    private String returnedAmount;

    private String balance;

    private String expectedBackSectionTime;

    private String backSectionTime;

    private int userId;
    private TbUsers tbUsers;

    
	private String createTime;

    public int getBackSectionId(){
        return backSectionId;
    }

    public void setBackSectionId(int backSectionId){
        this.backSectionId = backSectionId;
    }

    public String getResponsible(){
        return responsible;
    }

    public void setResponsible(String responsible){
        this.responsible = responsible;
    }

    public String getBackSectionFlowInfo(){
        return backSectionFlowInfo;
    }

    public void setBackSectionFlowInfo(String backSectionFlowInfo){
        this.backSectionFlowInfo = backSectionFlowInfo;
    }

    public String getCompletionRates(){
        return completionRates;
    }

    public void setCompletionRates(String completionRates){
        this.completionRates = completionRates;
    }

    public String getApplicationAmount(){
        return applicationAmount;
    }

    public void setApplicationAmount(String applicationAmount){
        this.applicationAmount = applicationAmount;
    }

    public String getDebitAmount(){
        return debitAmount;
    }

    public void setDebitAmount(String debitAmount){
        this.debitAmount = debitAmount;
    }

    public String getFinalAmount(){
        return finalAmount;
    }

    public void setFinalAmount(String finalAmount){
        this.finalAmount = finalAmount;
    }

    public String getReturnedAmount(){
        return returnedAmount;
    }

    public void setReturnedAmount(String returnedAmount){
        this.returnedAmount = returnedAmount;
    }

    public String getBalance(){
        return balance;
    }

    public void setBalance(String balance){
        this.balance = balance;
    }

    public String getExpectedBackSectionTime(){
        return expectedBackSectionTime;
    }

    public void setExpectedBackSectionTime(String expectedBackSectionTime){
        this.expectedBackSectionTime = expectedBackSectionTime;
    }

    public String getBackSectionTime(){
        return backSectionTime;
    }

    public void setBackSectionTime(String backSectionTime){
        this.backSectionTime = backSectionTime;
    }

    public int getUserId(){
        return userId;
    }

    public void setUserId(int userId){
        this.userId = userId;
        this.tbUsers=new TbUsersDAO().getTbUsersByUserId(userId);
    }

    public TbUsers getTbUsers() {
		return tbUsers;
	}

	public void setTbUsers(TbUsers tbUsers) {
		this.tbUsers = tbUsers;
	}

    public String getCreateTime(){
        return createTime;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }


    public TbBackSection(){
    }
        public TbBackSection(String responsible,String backSectionFlowInfo,String completionRates,String applicationAmount,String debitAmount,String finalAmount,String returnedAmount,String balance,String expectedBackSectionTime,String backSectionTime,int userId){
        this.responsible = responsible;
        this.backSectionFlowInfo = backSectionFlowInfo;
        this.completionRates = completionRates;
        this.applicationAmount = applicationAmount;
        this.debitAmount = debitAmount;
        this.finalAmount = finalAmount;
        this.returnedAmount = returnedAmount;
        this.balance = balance;
        this.expectedBackSectionTime = expectedBackSectionTime;
        this.backSectionTime = backSectionTime;
        this.userId = userId;
    }
    public TbBackSection(int backSectionId,String responsible,String backSectionFlowInfo,String completionRates,String applicationAmount,String debitAmount,String finalAmount,String returnedAmount,String balance,String expectedBackSectionTime,String backSectionTime,int userId){
        this.backSectionId = backSectionId;
        this.responsible = responsible;
        this.backSectionFlowInfo = backSectionFlowInfo;
        this.completionRates = completionRates;
        this.applicationAmount = applicationAmount;
        this.debitAmount = debitAmount;
        this.finalAmount = finalAmount;
        this.returnedAmount = returnedAmount;
        this.balance = balance;
        this.expectedBackSectionTime = expectedBackSectionTime;
        this.backSectionTime = backSectionTime;
        this.userId = userId;
    }
}

